<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>用户权限列表</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  	<link rel="stylesheet" type="text/css" href="<%=path%>/easyui/themes/icon.css">
  	<script type="text/javascript" src="<%=path%>/easyui/jquery-1.8.2.min.js"></script>
  	<script type="text/javascript" src="<%=path%>/easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="<%=path%>/easyui/sys.js"></script>
    <script type="text/javascript" src="<%=path%>/easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="<%=path%>/js/jquery-form.js"></script>
  
</head>
  
  <body>
  	<!-- 头部 -->
	  	<div style=" background-color:#DDDDDD ;  text-align: center; color:#696969 ; height:50px " >
	  		<P align=center>
	  			<font size="+2" style="line-height:42px;" >用户权限页面</font><br>
	  		</P>
	  	</div>
  	<table  border="1" cellspacing="0" cellpadding="0" style="text-align: center;" width="100%" height="50%">
		<tr>
			<td>单位ID :</td>
			<td>权限编码 : </td>
			<td>权限名称  : </td>
			<td>权限排序  : </td>
			<td>权限描述  : </td>
			<td>
				操作<br>
				<a id="add1" onclick="add()" href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-add'">添加用户以及权限</a>  
			</td>
		</tr>
		<c:forEach items="${rolesList}" var="li">
			<tr>
				<td>${li.unit_id}</td>
				<td>${li.role_code}</td>
				<td>${li.role_name}</td>
				<td>${li.num}</td>
				<td>${li.role_description}</td>
				<td>
					进行修改
					<a id="qxupdate" onclick="add()" href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-add'">权限修改</a>
				</td>
			</tr>
		</c:forEach>
    </table>
  </body>
</html>
